#include<stdio.h>

int Eatpeach(int day)
{
    if(day==10)
    return 1;
    return (Eatpeach(day+1)+1)*2;
}

int main()
{
    printf("%d\n",Eatpeach(1));
    return 0;
}